package com.ruogu.codegeneration;

import dev.langchain4j.community.store.embedding.redis.spring.RedisEmbeddingStoreAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author ruogu
 * 禁用 RedisEmbeddingStoreAutoConfiguration 项目中不使用
 */
@SpringBootApplication(exclude = {RedisEmbeddingStoreAutoConfiguration.class})
@MapperScan("com.ruogu.codegeneration.mapper")
@EnableAspectJAutoProxy(exposeProxy = true)
public class AiCodeGenerationApplication {

    public static void main(String[] args) {
        SpringApplication.run(AiCodeGenerationApplication.class, args);
    }

}
